* Replace "doubleredirectsarrow" with a content language check that picks the appropriate arrow
* (bug 5537) Add stub language file for Samogitian (bat-smg); inherits Lithuanian (lt)
* Don't force edit summaries when a user is editing their own user/talk page
+* (bug 5510) Warning produced when using {{SUBPAGENAME}} in some namespaces
== Compatibility ==
*/
function getSubpageText() {
global $wgNamespacesWithSubpages;
- if( $wgNamespacesWithSubpages[ $this->mNamespace ] ) {
+ if( isset( $wgNamespacesWithSubpages[ $this->mNamespace ] ) && $wgNamespacesWithSubpages[ $this->mNamespace ] ) {
$parts = explode( '/', $this->mTextform );
return( $parts[ count( $parts ) - 1 ] );
} else {